/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.terminalrodoviario;

import java.sql.Time;
/**
 *
 * @author marcelo
 */
public class RouteTime extends BaseEntity<RouteTime> {
    private RouteTravel routeTravel;
    private Time time;
    private City city;
    private Time arrival;//usado somente para busca
    private double price;//usado somente para busca

  // <editor-fold defaultstate="collapsed" desc="Builders">
    public RouteTime(){}
    public RouteTime(RouteTravel routeTravel, City city, Time time) {
        this.routeTravel = routeTravel;
        this.city = city;
        this.time = time;
    }

    public City getCity() {
        return city;
    }

    public void setCity(City city) {
        this.city = city;
    }
   
    public RouteTravel getRouteTravel() {
        return routeTravel;
    }

    public void setRouteTravel(RouteTravel routeTravel) {
        this.routeTravel = routeTravel;
    }

    public Time getTime() {
        return time;
    }

    public void setTime(Time time) {
        this.time = time;
    }

    public Time getArrival() {
        return arrival;
    }

    public void setArrival(Time arrival) {
        this.arrival = arrival;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }
   
    // </editor-fold>
    
}
